<div id="content">
<div id="box">
<h3 class="title">友情链接</h3>
<table width="100%" class="admin-table">
<thead>
	<tr>
    	<th class="a-center">ID</th>
    	<th class="a-center">网站名称</th>
        <th class="a-center">网站地址</th>
        <th class="a-center">首页显示</th>
        <th class="a-center">排序</th>
        <th class="a-center">更新时间</th>
    	<th class="a-center">操作</th>
    </tr>
</thead>
<tbody>
	{if !empty($this->data['data']['rows'])}
	<!--{loop $this->data['data']['rows'] $link}-->
	<tr>
    	<td class="a-center">{$link['id']}</td>
    	<td class="a-center">{$link['site_name']}</td>
        <td class="a-center"><a href="{$link['url']}" target="_blank">{$link['url']}</a></td>
        <td class="a-center">{if $link['index_show']==1}是{else}否{/if}</td>
        <td class="a-center">{$link['orderby']}</td>
        <td class="a-center">{$link['updated']}</td>
        <td class="a-center">{if $link['is_system']==0}<a href="{url('Link','Edit',array('id'=>$link['id']))}">编辑</a> | <a href="{url('Link','Del',array('id'=>$link['id']))}" onclick="return confirm('确定要删除么？');">删除</a>{/if}</td>
    </tr>
    <!--{/loop}-->
    {/if}
</tbody>
</table>
<div id="pager">
{$this->data['pages']}
</div>
</div>
</div>